package com.sunday.aomicaichang.model;

import java.util.List;

/**
 * Created by yun_sheng on 2017/6/7.
 */

public class MenuDetail {

    /**
     * id : 1
     * createTime : 2017-05-24 17:14:18
     * createDate : 2017-05-24
     * viceName : 酱油咖喱火腿炒饭
     * name : 夜宵专用
     * time : 30
     * difficulty : so easy
     * detail : 好吃
     * image : http://image.51huaguoshan.com/upload/2017/5/dc7e0356-57da-423a-8efb-d7d14fc2d8a9.jpg
     * isCollection : 0
     * descUrl : http://mobile.51huaguoshan.com/kitchen/mobile/cookbook/desc?id=1
     * products : [{"id":70,"createTime":"2017-05-30 17:23:30","createDate":"2017-05-30","name":"王中王火腿肠","number":"01","standard":"1200g","num":1},{"id":66,"createTime":"2017-05-30 17:23:30","createDate":"2017-05-30","name":"土豆/马铃薯","number":"123456","standard":"550g","num":2}]
     */

    private int id;
    private String createTime;
    private String createDate;
    private String viceName;
    private String name;
    private String time;
    private String difficulty;
    private String detail;
    private String image;
    private int isCollection;
    private String descUrl;
    private List<ProductsBean> products;
    private List<CookBooksBean> cookBooks;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public String getViceName() {
        return viceName;
    }

    public void setViceName(String viceName) {
        this.viceName = viceName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getDifficulty() {
        return difficulty;
    }

    public void setDifficulty(String difficulty) {
        this.difficulty = difficulty;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getIsCollection() {
        return isCollection;
    }

    public void setIsCollection(int isCollection) {
        this.isCollection = isCollection;
    }

    public String getDescUrl() {
        return descUrl;
    }

    public void setDescUrl(String descUrl) {
        this.descUrl = descUrl;
    }

    public List<ProductsBean> getProducts() {
        return products;
    }

    public void setProducts(List<ProductsBean> products) {
        this.products = products;
    }

    public List<CookBooksBean> getCookBooks() {
        return cookBooks;
    }

    public void setCookBooks(List<CookBooksBean> cookBooks) {
        this.cookBooks = cookBooks;
    }

    public static class ProductsBean {
        /**
         * id : 70
         * createTime : 2017-05-30 17:23:30
         * createDate : 2017-05-30
         * name : 王中王火腿肠
         * number : 01
         * standard : 1200g
         * num : 1
         */

        private int id;
        private String createTime;
        private String createDate;
        private String name;
        private String number;
        private String standard;
        private int num;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getStandard() {
            return standard;
        }

        public void setStandard(String standard) {
            this.standard = standard;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }
    }
    public static class CookBooksBean {
        /**
         * id : 70
         * createTime : 2017-05-30 17:23:30
         * createDate : 2017-05-30
         * name : 王中王火腿肠
         * number : 01
         * standard : 1200g
         * num : 1
         */

        private long id;
        private String name;
        private String image;
       private String viceName;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getViceName() {
            return viceName;
        }

        public void setViceName(String viceName) {
            this.viceName = viceName;
        }
    }
}
